package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkcardQueryWorkcardDTO struct {
	/*
	   额外属性     */
	Attributes *string `json:"attributes,omitempty" `

	/*
	   签到时间     */
	GmtSignIn *util.LocalTime `json:"gmt_sign_in,omitempty" `

	/*
	   使用次数     */
	UsedServiceCount *int64 `json:"used_service_count,omitempty" `

	/*
	   服务订单数据     */
	ServiceTradeOrder *TmallServicecenterWorkcardQueryServiceTradeOrder `json:"service_trade_order,omitempty" `

	/*
	   预约结束时间     */
	GmtReserveEnd *util.LocalTime `json:"gmt_reserve_end,omitempty" `

	/*
	   修改时间     */
	GmtModify *util.LocalTime `json:"gmt_modify,omitempty" `

	/*
	   工单服务总次数     */
	ServiceCount *int64 `json:"service_count,omitempty" `

	/*
	   取消时间     */
	GmtCancel *util.LocalTime `json:"gmt_cancel,omitempty" `

	/*
	   工单状态编码     */
	StatusCode *string `json:"status_code,omitempty" `

	/*
	   工单id     */
	Id *int64 `json:"id,omitempty" `

	/*
	   预约失败描述     */
	ReserveFailDesc *string `json:"reserve_fail_desc,omitempty" `

	/*
	   剩余次数     */
	LeftServiceCount *int64 `json:"left_service_count,omitempty" `

	/*
	   主订单号     */
	ParentBizOrderId *int64 `json:"parent_biz_order_id,omitempty" `

	/*
	   预约失败编码     */
	ReserveFailCode *int64 `json:"reserve_fail_code,omitempty" `

	/*
	   买家信息     */
	Buyer *TmallServicecenterWorkcardQueryBuyer `json:"buyer,omitempty" `

	/*
	   服务提供者     */
	ServiceProvider *TmallServicecenterWorkcardQueryServiceProvider `json:"service_provider,omitempty" `

	/*
	   服务履约类型     */
	FulfilTypeCode *string `json:"fulfil_type_code,omitempty" `

	/*
	   核销时间     */
	GmtIdentify *util.LocalTime `json:"gmt_identify,omitempty" `

	/*
	   创建时间     */
	GmtCreate *util.LocalTime `json:"gmt_create,omitempty" `

	/*
	   预约时间开始     */
	GmtReserveStart *util.LocalTime `json:"gmt_reserve_start,omitempty" `

	/*
	   实物订单信息     */
	MasterTradeOrder *TmallServicecenterWorkcardQueryMasterTradeOrder `json:"master_trade_order,omitempty" `

	/*
	   服务定义     */
	ServiceDefinition *TmallServicecenterWorkcardQueryServiceDefinition `json:"service_definition,omitempty" `

	/*
	   买家期望服务时间     */
	BuyerExpectDate *util.LocalTime `json:"buyer_expect_date,omitempty" `

	/*
	   费用信息     */
	FeeList *[]TmallServicecenterWorkcardQueryFeeInfo `json:"fee_list,omitempty" `

	/*
	   核销/工单完结请求中直接带回该字段     */
	Sequence *int64 `json:"sequence,omitempty" `

	/*
	   服务单id     */
	SpServiceOrderId *int64 `json:"sp_service_order_id,omitempty" `

	/*
	   工单备注     */
	MemoList *[]TmallServicecenterWorkcardQueryMemoDTO `json:"memo_list,omitempty" `

	/*
	   操作记录信息     */
	WorkcardOperationInfo *[]TmallServicecenterWorkcardQueryWorkcardOperationDTO `json:"workcard_operation_info,omitempty" `
}

func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetAttributes(v string) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.Attributes = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetGmtSignIn(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.GmtSignIn = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetUsedServiceCount(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.UsedServiceCount = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetServiceTradeOrder(v TmallServicecenterWorkcardQueryServiceTradeOrder) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.ServiceTradeOrder = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetGmtReserveEnd(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.GmtReserveEnd = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetGmtModify(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.GmtModify = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetServiceCount(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.ServiceCount = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetGmtCancel(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.GmtCancel = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetStatusCode(v string) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.StatusCode = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetId(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.Id = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetReserveFailDesc(v string) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.ReserveFailDesc = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetLeftServiceCount(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.LeftServiceCount = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetParentBizOrderId(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.ParentBizOrderId = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetReserveFailCode(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.ReserveFailCode = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetBuyer(v TmallServicecenterWorkcardQueryBuyer) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.Buyer = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetServiceProvider(v TmallServicecenterWorkcardQueryServiceProvider) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.ServiceProvider = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetFulfilTypeCode(v string) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.FulfilTypeCode = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetGmtIdentify(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.GmtIdentify = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetGmtCreate(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.GmtCreate = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetGmtReserveStart(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.GmtReserveStart = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetMasterTradeOrder(v TmallServicecenterWorkcardQueryMasterTradeOrder) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.MasterTradeOrder = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetServiceDefinition(v TmallServicecenterWorkcardQueryServiceDefinition) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.ServiceDefinition = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetBuyerExpectDate(v util.LocalTime) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.BuyerExpectDate = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetFeeList(v []TmallServicecenterWorkcardQueryFeeInfo) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.FeeList = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetSequence(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.Sequence = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetSpServiceOrderId(v int64) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.SpServiceOrderId = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetMemoList(v []TmallServicecenterWorkcardQueryMemoDTO) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.MemoList = &v
	return s
}
func (s *TmallServicecenterWorkcardQueryWorkcardDTO) SetWorkcardOperationInfo(v []TmallServicecenterWorkcardQueryWorkcardOperationDTO) *TmallServicecenterWorkcardQueryWorkcardDTO {
	s.WorkcardOperationInfo = &v
	return s
}
